package com.seal.dao;

import java.util.List;

import com.seal.comm.utils.Page;
import com.seal.dto.EmailDto;
import com.seal.model.Email;

public interface IEmailDao extends IDao{

	void addEmail(Email email) throws Exception;

	void updateEmail(Email email) throws Exception;

	Email getEmailById(String id) throws Exception;

	List<Email> getSendEmail() throws Exception;
	
	List<Email> getAllEmail(EmailDto dto, Page page) throws Exception;
	
	void moveSuccEmailToHistory() throws Exception;

}
